<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body bgcolor="#99CCFF">
	<f:view>
		<h:form>
			<h:panelGrid columns="3">


				<h:outputText value="First Name:" />
				<h:inputText id="fName" value="#{userLoginBean.fName}"
					required="true" requiredMessage="First Name is required" />
				<h:message showSummary="true" showDetail="false" for="fName" />

				<h:outputText value="Last Name:" />
				<h:inputText id="lName" value="#{userLoginBean.lName}"
					required="true" requiredMessage="Last Name is required" />
				<h:message showSummary="true" showDetail="false" for="lName" />

				<h:outputText value="UIN:" />
				<h:inputText id="uin" value="#{userLoginBean.uin}" required="true"
					requiredMessage="UIN is reguired" />
				<h:message showSummary="true" showDetail="false" for="uin" />

				<h:outputText value="Login Id:" />
				<h:inputText id="loginId" value="#{userLoginBean.loginId}"
					required="true" requiredMessage="LoginId is required" />
				<h:message showSummary="true" showDetail="false" for="loginId" />

				<h:outputText value="Password:" />
				<h:inputSecret id="loginPass" value="#{userLoginBean.loginPass}"
					required="true" requiredMessage="Password is required" />
				<h:message showSummary="true" showDetail="false" for="loginPass" />

				<h:outputText value="" />
				<h:commandButton type="submit" value="Submit"
					action="#{actionBeanLoginLogout.registerUser}" />
				<h:outputText value="#{messageBean.errorMessage}" />

			</h:panelGrid>
			</h:form>
	</f:view>
</body>
</html>